<template>
  <a-layout-footer class="footer">
    <div class="footer-content">
      <!-- 备案信息 -->
      <div class="footer-row">
        <a
          href="https://beian.miit.gov.cn/"
          rel="noopener noreferrer"
          target="_blank"
        >
          浙ICP备2024133087号-1
        </a>
        <span class="divider">|</span>
        <a
          class="beian-link"
          href="http://www.beian.gov.cn/portal/registerSystemInfo"
          rel="noopener noreferrer"
          target="_blank"
        >
          <img
            alt="公安备案图标"
            class="beian-icon"
            src="@/assets/beian-logo.png"
          />
          浙公网安备33019202002536号
        </a>
      </div>

    </div>
  </a-layout-footer>
</template>

<script setup lang="ts">
// 无需额外的响应式数据
</script>

<style scoped>
.footer {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 2px 0;
  gap: 6px;
}

.beian-icon {
  width: 10px;
  height: 10px;
  margin-right: 3px;
}

.beian-link {
  display: flex;
  align-items: center;
}

.divider {
  margin: 0 4px;
  color: #d9d9d9;
}

.footer-row a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-row a:hover {
  color: #1890ff;
}

</style>
